package com.yhos.platform.oopston.mapper.model.shunfeng;

import com.yhos.platform.oopston.core.annotation.NotNullValid;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

public class ShunfengOrderCreateRequestApiModel {

    @ApiModelProperty("api_username 由KTS系统提供")
    private String api_username;

    @ApiModelProperty("api_key ApiKey，由KTS系统提供")
    private String api_key;

    @ApiModelProperty(value = "客户订单号", required = true)
    @NotNullValid(message = "客户订单号不能为空")
    private String order_sn;

    @ApiModelProperty(value = "合作商平台用户ID", required = false)
    private String platform_merchant_id;

    @ApiModelProperty(value = "快件产品类别", required = true)
    @NotNullValid(message = "快件产品类别 不能为空")
    private String express_type;

    @ApiModelProperty(value = "税号", required = false)
    private String tax_number;

    @ApiModelProperty(value = "澳洲有注册公司Number", required = false)
    private String ABN;

    @ApiModelProperty(value = "澳洲有注册公司的企业商业编号", required = true)
    private String gst_exemption_code;

    @ApiModelProperty("sender 寄件人详细信息")
    @NotNullValid(message = "寄件人详细信息 不能为空")
    private List<ShunfengSenderCreateModel> sender;

    @ApiModelProperty("receiver 到方详细信息")
    @NotNullValid(message = "到方详细信息 不能为空")
    private List<ShunfengReceiverCreateModel> receiver;

    @ApiModelProperty("parcel 包裹信息  不能为空")
    @NotNullValid(message = "包裹信息 不能为空")
    private List<ShunfengParcelCreateModel> parcel;

    public String getApi_username() {
        return api_username;
    }

    public void setApi_username(String api_username) {
        this.api_username = api_username;
    }

    public String getApi_key() {
        return api_key;
    }

    public void setApi_key(String api_key) {
        this.api_key = api_key;
    }

    public String getOrder_sn() {
        return order_sn;
    }

    public void setOrder_sn(String order_sn) {
        this.order_sn = order_sn;
    }

    public String getPlatform_merchant_id() {
        return platform_merchant_id;
    }

    public void setPlatform_merchant_id(String platform_merchant_id) {
        this.platform_merchant_id = platform_merchant_id;
    }

    public String getExpress_type() {
        return express_type;
    }

    public void setExpress_type(String express_type) {
        this.express_type = express_type;
    }

    public String getTax_number() {
        return tax_number;
    }

    public void setTax_number(String tax_number) {
        this.tax_number = tax_number;
    }

    public String getABN() {
        return ABN;
    }

    public void setABN(String ABN) {
        this.ABN = ABN;
    }

    public String getGst_exemption_code() {
        return gst_exemption_code;
    }

    public void setGst_exemption_code(String gst_exemption_code) {
        this.gst_exemption_code = gst_exemption_code;
    }

    public List<ShunfengSenderCreateModel> getSender() {
        return sender;
    }

    public void setSender(List<ShunfengSenderCreateModel> sender) {
        this.sender = sender;
    }

    public List<ShunfengReceiverCreateModel> getReceiver() {
        return receiver;
    }

    public void setReceiver(List<ShunfengReceiverCreateModel> receiver) {
        this.receiver = receiver;
    }

    public List<ShunfengParcelCreateModel> getParcel() {
        return parcel;
    }

    public void setParcel(List<ShunfengParcelCreateModel> parcel) {
        this.parcel = parcel;
    }
}
